﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AWP_Vl_4_Generics
{
    class Program
    {
        static void Main(string[] args)
        {
            GenericClass<MyDataType2> array = new GenericClass<MyDataType2>();
            MyDataType2 mdt = new MyDataType2();
            array.setElement(mdt, 2);
            array.printElement(2);
            array.printElement(4);

            Console.ReadKey(); 
        }
    }
}
